package com.yy.service;

import com.yy.mapper.MeetMapper;
import com.yy.pojo.Meet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: yy
 * @Date 2021/11/11 16:37
 */
@Component
@Service
public class MeetService {
    @Resource
    @Autowired
    private MeetMapper meetMapper;

    public List<Meet> getMeetList() {
        return meetMapper.getMeetList();
    }


    public int addMeet(Meet meet) {
        return   meetMapper.addMeet(meet);
    }

    public int deleteMeet(String mId) {
        return meetMapper.deleteMeet(mId);
    }

}
